package com.opencloud.iot.client.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 每日睡眠结果数据
 * @author yeyong
 */
@TableName("iot_daymoveresult")
public class IotDayMoveResult implements Serializable {

    /**
     * 自增长Id
     */
    @ApiModelProperty(value = "自增长Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手环地址
     */
    @ApiModelProperty(value = "手环地址")
    private String watchmac;

    /**
     * 日期
     */
    @ApiModelProperty(value = "日期")
    private Date thisdate;

    /**
     * 高强度时长
     */
    @ApiModelProperty(value = "高强度时长")
    private Double hightimes;

    /**
     * 中强度时长
     */
    @ApiModelProperty(value = "中强度时长")
    private Double middletimes;

    /**
     * 低强度时长
     */
    @ApiModelProperty(value = "低强度时长")
    private Double lowtimes;

    /**
     * 手环状态
     */
    @ApiModelProperty(value = "手环状态")
    private Integer watchstatus;

    /**
     * 运动状态
     */
    @ApiModelProperty(value = "运动状态")
    private Integer movestatus;

    /**
     * 运动描述
     */
    @ApiModelProperty(value = "运动描述")
    private String moveresult;


    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updatetime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWatchmac() {
        return watchmac;
    }

    public void setWatchmac(String watchmac) {
        this.watchmac = watchmac;
    }

    public Date getThisdate() {
        return thisdate;
    }

    public void setThisdate(Date thisdate) {
        this.thisdate = thisdate;
    }

    public Double getHightimes() {
        return hightimes;
    }

    public void setHightimes(Double hightimes) {
        this.hightimes = hightimes;
    }

    public Double getMiddletimes() {
        return middletimes;
    }

    public void setMiddletimes(Double middletimes) {
        this.middletimes = middletimes;
    }

    public Double getLowtimes() {
        return lowtimes;
    }

    public void setLowtimes(Double lowtimes) {
        this.lowtimes = lowtimes;
    }

    public Integer getWatchstatus() {
        return watchstatus;
    }

    public void setWatchstatus(Integer watchstatus) {
        this.watchstatus = watchstatus;
    }

    public Integer getMovestatus() {
        return movestatus;
    }

    public void setMovestatus(Integer movestatus) {
        this.movestatus = movestatus;
    }

    public String getMoveresult() {
        return moveresult;
    }

    public void setMoveresult(String moveresult) {
        this.moveresult = moveresult;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "IotDayMoveResult{" +
                "id=" + id +
                ", watchmac=" + watchmac +
                ", thisdate=" + thisdate +
                ", hightimes=" + hightimes +
                ", middletimes=" + middletimes +
                ", lowtimes=" + lowtimes +
                ", watchstatus=" + watchstatus +
                ", movestatus=" + movestatus +
                ", moveresult=" + moveresult +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                "}";
    }
}
